#ifndef REQUESTSTRUCT_H
#define REQUESTSTRUCT_H

#include <iostream>

//注册接口所需参数
struct requestRegisterStruct{
    std::string route;
    std::string username;
    std::string password;
};

//登陆
struct requestLoginStruct{
    std::string route;
    int uid;
    std::string password;
    int userStatus;
};

//获取用户信息
struct requestGetUserInfo{
    std::string route;
    int uid;
};

//添加好友
struct requestAddFriendStruct{
    std::string route;
    int uid;
    int beuid;
};

//好友列表
struct requestFriendListStruct{
    std::string route;
    int uid;
};

//聊天
struct requestChatStruct{
    std::string route;
    int uid;
    int beuid;
    std::string msg;
};


class RequestStruct
{
public:
    RequestStruct();


public:
    static const std::string XIAOH_REQUEST_API_REGISTER;
    static const std::string XIAOH_REQUEST_API_GET_USER_INFO;
    static const std::string REQUEST_API_LOGIN;
    static const std::string REQUEST_API_ADD_FRIEND;
    static const std::string REQUEST_API_FRIEND_LIST;
    static const std::string REQUEST_API_CHAT;

};




#endif // REQUESTSTRUCT_H
